package com.woniu.user.service;

import com.woniu.common.entity.*;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.apache.ibatis.annotations.Update;

import java.util.List;

public interface ApplyService {
    //犬只审核---申请界面查询
    List<ApplyForTable> selectApplies();
    //犬只审核---详情申请界面查询
    ApplyForTable selectDate(String icd);
    //犬只审核---审核通过
    void selectApply(String icd,int a,int b,String reviewer);
    //个人不通过
    void selectApply2(String icd,int i,String reason,String reviewer);
    //犬只不通过
    void selectApply3(String icd,int i,int j,String reason,String reviewer);
    //犬只tianjia
    void insertDog(Dog dog);
    //犬牌登记
    void updateDognum(String etcnum,String url,String dname,int uid);
    //犬只通过审核查询
    List<Dog> selectDog();
    //通知消息
    void insertMessage(Message message);
    //个人通知消息查询
    List<Message> selectMessage(int uid);
    //通过account查询用户id
    User selectUser(String account);
    //修改消息status
    void updateStatus(int status, int id);
    //投诉消息查询
    List<Complain> selectComplainMessage();
    void updateComplainMessage(int id,int status);
}
